<?php
session_start();
if(isset($_POST['name'])){
    $name = $_POST['name'];
    $passwd = $_POST['passwd'];
    if($name=="admin"&&$passwd=="buyaoxielou"){
        $_SESSION['admin'] = "admin";
        header('location:index.php');
        die;
    }
}
?>
<!DOCTYPE html>
<!-- saved from url=(0032)http://web.ikeepfit.cn/payAnswer -->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="expires" content="0">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta name="format-detection" content="telephone=no">
<meta name="HandheldFriendly" content="true" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style"
	content="black-translucent">
<meta name="viewport"
	content="width=device-width, initial-scale=1 maximum-scale=1 user-scalable=0, minimal-ui" />
<meta http-equiv="Cache-Control" content="private">
<meta http-equiv="expires" content="43200">
<link rel='stylesheet' href='http://web.ikeepfit.cn/css/style.css' />
<link rel='stylesheet' href='http://web.ikeepfit.cn/css/style_add.css' />
<script src="http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
<title>订单</title>
</head>

<body>
	<style>
.quest-weixin ul li .p {
	overflow: auto;
	padding: 0;
}

.quest-weixin ul li .p span {
	float: left;
	width: 33%;
	background: none;
	padding: 0;
}

.quest-weixin ul li .p span img {
	display: block;
	opacity: 0.6;
	width: 80px;
	height: 110px;
	display: block;
	margin: auto;
	border: 4px solid #fff;
	border-radius: 3px;
}

.quest-weixin ul li .p .span {
	background: none;
}

.quest-weixin ul li .p .span img {
	border: 4px solid #188747;
	opacity: 1;
}
</style>

	<div class="quest-weixin">
        
		<form id = "editorForm" method = "post">
			<ul>
				<li class="txt01 txt00" name="tel">
					<div>
						用户名:
						<p>
							<input type="text" name="name" class="txt number">
						</p>
					</div>
				</li>
				<li class="txt01 txt00" name="tel">
					<div>
						密码:
						<p>
							<input type="text" name="passwd" class="txt number">
						</p>
					</div>
				</li>
			</ul>
             <input type="submit"  value="登陆"  /> 
		</form>
	</div>


</body>
<script src="http://7jpqaz.com1.z0.glb.clouddn.com/mobiscroll_002.js"
	type="text/javascript"></script>
<script src="http://7jpqaz.com1.z0.glb.clouddn.com/mobiscroll.js"
	type="text/javascript"></script>
<link href="http://7jpqaz.com1.z0.glb.clouddn.com/mobiscroll.css"
	rel="stylesheet" type="text/css">
<script src="http://7u2j7v.com1.z0.glb.clouddn.com/jquery.cookie.js"
	type="text/javascript"></script>
<script type="text/javascript"
	src="http://7xav4p.com1.z0.glb.clouddn.com/plupload.full.min.js"></script>
<script type="text/javascript"
	src="http://7xav4p.com1.z0.glb.clouddn.com/zh_CN.js"></script>
<script type="text/javascript"
	src="http://7xav4p.com1.z0.glb.clouddn.com/ui.js"></script>
<script type="text/javascript"
	src="http://7xav4p.com1.z0.glb.clouddn.com/qiniu.js"></script>

<script>

$(function(){
	$("#submit").click(function(sender) {
		var submit = $(sender.target);
		var url = "";
		$.post(url, $("#editorForm").serialize(), function(data) {
			if (data.code==0) {
				alert("提交成功");
			} else {
				alert("失败");
			}
		}, "json");
	});	
});
    
</script>
</html>
